import request from '@/utils/request'

// 查询人员流程列表
export function listPhysiacaflow(query) {
  return request({
    url: '/physical/physiacaflow/list',
    method: 'get',
    params: query
  })
}

// 查询人员流程详细
export function getPhysiacaflow(id) {
  return request({
    url: '/physical/physiacaflow/' + id,
    method: 'get'
  })
}

// 新增人员流程
export function addPhysiacaflow(data) {
  return request({
    url: '/physical/physiacaflow',
    method: 'post',
    data: data
  })
}

// 修改人员流程
export function updatePhysiacaflow(data) {
  return request({
    url: '/physical/physiacaflow',
    method: 'put',
    data: data
  })
}

// 删除人员流程
export function delPhysiacaflow(id) {
  return request({
    url: '/physical/physiacaflow/' + id,
    method: 'delete'
  })
}
